package com.coolwen.service;

import com.coolwen.entity.User;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by user on 2016/4/25.
 */
public interface UserService {

    User getUserById(String id);
    List<User> selectAllUser();
    int insert(User userInfo);
    int updateByPrimaryKeySelective(User record);
    int deleteByPrimaryKey(Long userId);
    PageInfo<User> queryByPage(String userName,Integer pageNo,Integer pageSize);
}
